<?php
class NavView{
	private $getRegKey = 'reg';
	
	//Returnerar huruvida reg är satt
	public function IsRegister(){
		if(isset($_GET[$this->getRegKey])){
			return true;
		}
		return false;
	}
	/**
	 * @return string HTML
	 */
	public function DoNavigationBox(){
		
		return "<div>
					<a href='./' title='Login'>Login</a> <a href='?reg' title='Register'>Register</a>
				</div>";
	}
}
?>